/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2013
 */

package com.smg.community.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import javacommon.base.*;
import javacommon.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import com.smg.community.model.*;
import com.smg.community.dao.*;
import com.smg.community.service.*;
import com.smg.community.vo.query.*;

/**
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */


public class SmgTopicQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	private java.lang.Integer topicId;
	private java.lang.Integer fkGroupId;
	private java.lang.String groupName;
	private java.lang.Integer fkCateId;
	private java.lang.String cateName;
	private java.lang.Integer fkTitleTypeId;
	private java.lang.String titleTypeName;
	private java.lang.Integer fkCreateMemberId;
	private java.lang.String createMemberName;
	private java.lang.String createMemberHead;
	private java.util.Date createDateBegin;
	private java.util.Date createDateEnd;
	private java.util.Date lastReplyDateBegin;
	private java.util.Date lastReplyDateEnd;
	private java.lang.Integer lastReplyMemberId;
	private java.lang.String lastReplyMemberName;
	private java.lang.String topicContBeforeFilter;
	private java.lang.String topicContAfterFilter;
	private java.lang.Integer isTopicContainKeyWord;
	private java.lang.String topicContainKeyWords;
	private java.lang.Integer isEssence;
	private java.lang.Integer isRecommend;
	private java.lang.String operateLog;
	private java.lang.String lastOperateLog;
	private java.util.Date lastOperateDateBegin;
	private java.util.Date lastOperateDateEnd;
	private java.lang.Integer isValid;
	private java.lang.Integer clickCount;
	private java.lang.Integer replyCount;
	/**
	 *  1-主题 2-活动 3-投票
	 */
	private java.lang.Integer topicType;
	private java.lang.Integer cityNo;
	private java.lang.String cityName;

	
	private java.lang.Integer joinMemberId;
	public java.lang.Integer getJoinMemberId() {
		return joinMemberId;
	}

	public void setJoinMemberId(java.lang.Integer joinMemberId) {
		this.joinMemberId = joinMemberId;
	}


	private String topType;
	public String getTopType() {
		if ( topType == null || topType.equals("")){
			topType  = " 1=1";
		}
		return topType;
	}

	public void setTopType(String topType) {
		this.topType = topType;
	}


	private String orderBy;
	
	public String getOrderBy() {
		if ( orderBy == null ){
			orderBy  = "createDate desc";
		}
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public java.lang.Integer getTopicId() {
		return this.topicId;
	}
	
	public void setTopicId(java.lang.Integer value) {
		this.topicId = value;
	}
	
	public java.lang.Integer getFkGroupId() {
		return this.fkGroupId;
	}
	
	public void setFkGroupId(java.lang.Integer value) {
		this.fkGroupId = value;
	}
	
	public java.lang.String getGroupName() {
		return this.groupName;
	}
	
	public void setGroupName(java.lang.String value) {
		this.groupName = value;
	}
	
	public java.lang.Integer getFkCateId() {
		return this.fkCateId;
	}
	
	public void setFkCateId(java.lang.Integer value) {
		this.fkCateId = value;
	}
	
	public java.lang.String getCateName() {
		return this.cateName;
	}
	
	public void setCateName(java.lang.String value) {
		this.cateName = value;
	}
	
	public java.lang.Integer getFkTitleTypeId() {
		return this.fkTitleTypeId;
	}
	
	public void setFkTitleTypeId(java.lang.Integer value) {
		this.fkTitleTypeId = value;
	}
	
	public java.lang.String getTitleTypeName() {
		return this.titleTypeName;
	}
	
	public void setTitleTypeName(java.lang.String value) {
		this.titleTypeName = value;
	}
	
	public java.lang.Integer getFkCreateMemberId() {
		return this.fkCreateMemberId;
	}
	
	public void setFkCreateMemberId(java.lang.Integer value) {
		this.fkCreateMemberId = value;
	}
	
	public java.lang.String getCreateMemberName() {
		return this.createMemberName;
	}
	
	public void setCreateMemberName(java.lang.String value) {
		this.createMemberName = value;
	}
	
	public java.lang.String getCreateMemberHead() {
		return this.createMemberHead;
	}
	
	public void setCreateMemberHead(java.lang.String value) {
		this.createMemberHead = value;
	}
	
	public java.util.Date getCreateDateBegin() {
		return this.createDateBegin;
	}
	
	public void setCreateDateBegin(java.util.Date value) {
		this.createDateBegin = value;
	}	
	
	public java.util.Date getCreateDateEnd() {
		return this.createDateEnd;
	}
	
	public void setCreateDateEnd(java.util.Date value) {
		this.createDateEnd = value;
	}
	
	public java.util.Date getLastReplyDateBegin() {
		return this.lastReplyDateBegin;
	}
	
	public void setLastReplyDateBegin(java.util.Date value) {
		this.lastReplyDateBegin = value;
	}	
	
	public java.util.Date getLastReplyDateEnd() {
		return this.lastReplyDateEnd;
	}
	
	public void setLastReplyDateEnd(java.util.Date value) {
		this.lastReplyDateEnd = value;
	}
	
	public java.lang.Integer getLastReplyMemberId() {
		return this.lastReplyMemberId;
	}
	
	public void setLastReplyMemberId(java.lang.Integer value) {
		this.lastReplyMemberId = value;
	}
	
	public java.lang.String getLastReplyMemberName() {
		return this.lastReplyMemberName;
	}
	
	public void setLastReplyMemberName(java.lang.String value) {
		this.lastReplyMemberName = value;
	}
	
	public java.lang.String getTopicContBeforeFilter() {
		return this.topicContBeforeFilter;
	}
	
	public void setTopicContBeforeFilter(java.lang.String value) {
		this.topicContBeforeFilter = value;
	}
	
	public java.lang.String getTopicContAfterFilter() {
		return this.topicContAfterFilter;
	}
	
	public void setTopicContAfterFilter(java.lang.String value) {
		this.topicContAfterFilter = value;
	}
	
	public java.lang.Integer getIsTopicContainKeyWord() {
		return this.isTopicContainKeyWord;
	}
	
	public void setIsTopicContainKeyWord(java.lang.Integer value) {
		this.isTopicContainKeyWord = value;
	}
	
	public java.lang.String getTopicContainKeyWords() {
		return this.topicContainKeyWords;
	}
	
	public void setTopicContainKeyWords(java.lang.String value) {
		this.topicContainKeyWords = value;
	}
	
	public java.lang.Integer getIsEssence() {
		return this.isEssence;
	}
	
	public void setIsEssence(java.lang.Integer value) {
		this.isEssence = value;
	}
	
	public java.lang.Integer getIsRecommend() {
		return this.isRecommend;
	}
	
	public void setIsRecommend(java.lang.Integer value) {
		this.isRecommend = value;
	}
	
	public java.lang.String getOperateLog() {
		return this.operateLog;
	}
	
	public void setOperateLog(java.lang.String value) {
		this.operateLog = value;
	}
	
	public java.lang.String getLastOperateLog() {
		return this.lastOperateLog;
	}
	
	public void setLastOperateLog(java.lang.String value) {
		this.lastOperateLog = value;
	}
	
	public java.util.Date getLastOperateDateBegin() {
		return this.lastOperateDateBegin;
	}
	
	public void setLastOperateDateBegin(java.util.Date value) {
		this.lastOperateDateBegin = value;
	}	
	
	public java.util.Date getLastOperateDateEnd() {
		return this.lastOperateDateEnd;
	}
	
	public void setLastOperateDateEnd(java.util.Date value) {
		this.lastOperateDateEnd = value;
	}
	
	public java.lang.Integer getIsValid() {
		return this.isValid;
	}
	
	public void setIsValid(java.lang.Integer value) {
		this.isValid = value;
	}
	
	public java.lang.Integer getClickCount() {
		return this.clickCount;
	}
	
	public void setClickCount(java.lang.Integer value) {
		this.clickCount = value;
	}
	
	public java.lang.Integer getReplyCount() {
		return this.replyCount;
	}
	
	public void setReplyCount(java.lang.Integer value) {
		this.replyCount = value;
	}
	
	public java.lang.Integer getTopicType() {
		return this.topicType;
	}
	
	public void setTopicType(java.lang.Integer value) {
		this.topicType = value;
	}
	
	public java.lang.Integer getCityNo() {
		return this.cityNo;
	}
	
	public void setCityNo(java.lang.Integer value) {
		this.cityNo = value;
	}
	
	public java.lang.String getCityName() {
		return this.cityName;
	}
	
	public void setCityName(java.lang.String value) {
		this.cityName = value;
	}
	

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

